<SCRIPT type="text/javascript">
function submitForm(){
		$("#mainForm").submit();
}
</SCRIPT>
<div class="artCon">
	<div class="middleArt">
	<form class="form-horizontal" id="mainForm" action="/${orgi}/manage/system/${type!''}/rivusitesettingedito/${rivesite.id}.html" method="post">
		<div class="artMain">
			<div class="mainCenter">
			
					<fieldset class="control-group">
						<label class="control-label" for="name">SMTP服务器地址：</label>
						<div class="controls">
							<input class="span3 required" required="" maxlength="255"
								 name="smtpserver" type="text" value="${rivesite.smtpserver!''}"
								data-message="SMTP服务器地址不能为空，请填写后提交"> <span
								class="help-inline"></span><i class="inputip">*</i>
						</div>
					</fieldset>	 
					
					<fieldset class="control-group">
						<label class="control-label" for="name">发件人邮箱：</label>
						<div class="controls">
							<input class="span3 required email" required="" maxlength="255"
								 name="mailfrom" type="text" value="${rivesite.mailfrom!''}"	
								data-message="发件人邮箱不能为空，请填写后提交"> <span
								class="help-inline"></span><i class="inputip">*</i>
						</div>
					</fieldset>
					
					<fieldset class="control-group">
						<label class="control-label" for="name">SMTP账号：</label>
						<div class="controls">
							<input class="span3 required" required="" maxlength="255"
								 name="smtpuser" type="text" value="${rivesite.smtpuser!''}"
								data-message="SMTP账号不能为空，请填写后提交"> <span
								class="help-inline"></span><i class="inputip">*</i>
						</div>
					</fieldset>

					<fieldset class="control-group">
						<label class="control-label" for="name">SMTP密码：</label>
						<div class="controls">
							<input class="span3" maxlength="255"
								 name="smtppassword" type="password" value=""
								data-message="SMTP密码不能为空，请填写后提交"> <span
								class="help-inline"></span>
						</div>
					</fieldset>
					
					<fieldset class="control-group">
						<label class="control-label" for="name">参数级别：</label>
						<div class="controls">
							 <input type="radio" name="seclev" value="1" id="a" <#if rivesite.seclev ?? && rivesite.seclev == "1">checked="checked"</#if> /><label for="a">重要</label>
							 <input type="radio" name="seclev" value="0" id="b" <#if rivesite.seclev ?? && rivesite.seclev == "0">checked="checked"</#if> /><label for="b">次要</label>
						</div>
					</fieldset>
					
				</div>
		</div>
		<div class="mainCenter">
		</div>
 		<div class="bottomBg">
			<div class="btnWrap">
				<input  type="button" onclick="submitForm()"  class="subButtonStyle" value="确认"/>
				
				<input type="button" onclick="closeR3ArtDialog()" class="cancelButtonStyle" value="取消"/>
			</div>
		</div>
	</form>
	</div>
</div>
